package com.wtc.homework5;
public class Homework10 {
    public static void main(String[] args) {
        Doctor doctor = new Doctor("make", 15, "student", '男', 1500);
        Doctor doctor1 = new Doctor("make", 15, "student", '男', 1500);
        System.out.println(doctor.equals(doctor1));
    }
}
